package persistent.dao;

import java.sql.SQLException;
import java.util.List;

import model.TForumConent;
import model.VForumContent;

public interface ForumContentDAO {
	
	public int produceValidSortId(int titleid) ;
	public int addContent(TForumConent titleid);
	public boolean deleteContent(int id);
	public boolean deleteContentsBelongForum(int titleid);
	public boolean updateForumContent(TForumConent fcontent);
	public VForumContent getContnentById(int id) ;
	public TForumConent getTContnetById(int id) ;
	public List<VForumContent> getContentListByForumId(int titleid) ;
}
